package com.example.job.common.common;

public enum ResponseStatusCode {

    SUCCESS("200","OK","0"),
    FAIL("500","faild","1"),

    HTTP_STATUS_200("200", "ok","0"),
    HTTP_STATUS_400("400", "request error","1"),
    HTTP_STATUS_401("401", "no authentication","1"),
    HTTP_STATUS_403("403", "no authorities","1"),
    HTTP_STATUS_500("500", "server error","1");

    private String statusCode;

    private String message;

    private String code;

    ResponseStatusCode(String statusCode, String message, String code) {
        this.statusCode = statusCode;
        this.message = message;
        this.code = code;
    }

    public String getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(String statusCode) {
        this.statusCode = statusCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
